<template>
  <div id="app">
    <div id="nav">
      <router-link to="/">V-for</router-link>|
      <router-link to="/about">About</router-link>|
      <router-link to="/von">v-on|@</router-link>|
      <router-link to="/layout">layout</router-link>|
      <router-link to="/datetimepicker">datetimePicker</router-link>|
      <router-link to="/grid">grid</router-link>|
      <router-link to="/swiper">swiper</router-link>|
      <router-link to="/defineProperty">defineProperty</router-link>|
      <router-link to="/computed">Computed</router-link>|
      <router-link to="/watch">Watch</router-link>|
     
    </div>
    <router-view/>
    
  </div>
</template>
<script>
export default {
  data() {
    return {
      message: 100,
      null: null,
      false: false,
      undefined: undefined,
      htmlStr: " <h3>我是text</h3>"
    };
  },
  computed: {
    showPrice() {
      return this.message * 2;
    }
  }
};
</script>
<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* text-align: center; */
  color: #2c3e50;
}
</style>
